/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.cakerun.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.continew.admin.common.base.model.entity.BaseDO;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 每日收益实体
 *
 * @author tangyu
 * @since 2025/07/02 23:41
 */
@Data
@TableName("order_project")
public class OrderProjectDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 账号ID
     */
    private Integer accountId;

    /**
     * 名称
     */
    private String name;

    /**
     * 店铺ID
     */
    private String projectId;

    /**
     * 交易次数
     */
    private Integer cnt;

    /**
     * 实际支付金额
     */
    private BigDecimal realPayed;

    /**
     * 业务成本
     */
    private BigDecimal bizCost;

    /**
     * 服务费用
     */
    private BigDecimal service;

    /**
     * 应付款金额
     */
    private BigDecimal due;

    /**
     * 合作伙伴自配送费用
     */
    private BigDecimal partnerSelfDeliverFee;

    /**
     * 业务时间
     */
    private LocalDate businessTime;
}
